<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html lang="en">
<head>
<link href="UserInterface/css/bootstrap.css" rel="stylesheet">
<link href="UserInterface/css/example-fluid-layout.css" rel="stylesheet">
<script type="text/javascript" src="UserInterface/js/jquery.js"></script>
<script type="text/javascript"
	src="UserInterface/js/bootstrap-dropdown.js"></script>
</head>

<div class="navbar navbar-fixed-top navbar-inverse">
	<div class="navbar-inner">

		<div class="container-fluid">
			<a class="btn btn-navbar" data-toggle="collapse"
				data-target=".nav-collapse"> <span class="icon-bar"></span> <span
				class="icon-bar"></span> <span class="icon-bar"></span>
			</a> <a class="brand" href="#"><img
				src="UserInterface/images/logo2.png" width="111" height="30"
				alt="Smartjobs" /></a>


			<div class="nav-collapse">
				<ul class="nav nav-pills">

					<s:if test="#session['login']==true">

						<s:if test="#session['loginType']=='jobseeker'">

							<li><a href="EditJSProfile"><i class="icon-home icon-2x"></i>
									Home</a></li>

							<li><a href="jobpostingsinit"><i
									class="icon-search icon-2x"></i> Jobs</a></li>

							<li><a href="getAllCoursesJSInit"><i
									class="icon-eye-open icon-2x"></i> Courses</a></li>
						</s:if>

						<s:elseif test="#session['loginType']=='company'">

							<li><a href="editcompanybd"><i class="icon-home icon-2x"></i>
									Home</a></li>

							<li><a href="jobseekersinit"><i
									class="icon-search icon-2x"></i> Candidates</a></li>
						</s:elseif>

						<s:if test="#session['loginType']=='trainer'">

							<li><a href="getAllCourses"><i class="icon-home icon-2x"></i>
									Home</a></li>

							<li><a href="jobpostingsinittrainer"><i
									class="icon-eye-open icon-2x"></i> Jobs</a></li>
							<li><a href="jobseekersinit"><i
									class="icon-eye-open icon-2x"></i> Job Seekers</a></li>

						</s:if>

					</s:if>


					<s:if test="#session['login']==null">
						<li><a href="home"><i class="icon-laptop icon-2x"></i>
								Login</a></li>
						<!-- <li><a href="test">Test</a></li>-->
						<li class="dropdown"><a href="#" class="dropdown-toggle"
							data-toggle="dropdown"><i class="icon-user icon-2x"></i>
								Create Profile </a>
							<ul class="dropdown-menu">
								<li><a href="signup">Job Seeker</a></li>
								<li><a href="companyprofileinit">Company</a></li>
								<li><a href="#">Trainer</a></li>
							</ul></li>


					</s:if>
				</ul>

				<s:if test="#session['login']==null">
					<div class="pull-right">
						<ul class="nav nav-pills">
							<li><a href="publish"><i class="icon-upload icon-2x"></i>
									Publish RDF </a></li>
						</ul>
					</div>
				</s:if>

				<s:if test="#session['login']==true">
					<div class="pull-right">
						<ul class="nav nav-pills">
							<li class="dropdown"><a href="#" class="dropdown-toggle"
								data-toggle="dropdown" style="color: yellow;"><s:property
										value="#session['userName']" /><b class="caret"></b></a>
								<ul class="dropdown-menu pull-right">
									<li><a href="logout">Logout</a></li>
								</ul></li>
						</ul>
					</div>
				</s:if>
			</div>
			<!--/.nav-collapse -->
		</div>
	</div>
</div>